package com.plian.system.entity.pm.subjectevaluation;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.plian.system.mybatis.base.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 转让（划转）标的评估情况实体类
 *
 */
@Data
@TableName("cqzc_subject_evaluation")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "SubjectEvaluation对象", description = "转让（划转）标的评估情况实体类")
public class SubjectEvaluation extends BaseEntity {

	private static final long serialVersionUID = 1L;

	private String propertyTransactionId;
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private BigDecimal bookValue;
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private BigDecimal assessedValue;

	@JsonFormat(
			pattern = "yyyy-MM-dd HH:mm:ss"
	)
	private Date evaluationBaseDate;

	private String evaluationAgencyReport;
	/**
	* 备注
	*/
		private String remark;
	/**
	* 乐观锁字段
	*/
		private Integer tsVersion;
	/**
	* 版本号
	*/
		private String version;
	/**
	* 审批人
	*/
		private String approvedUser;
	/**
	* 审批时间
	*/
		private Date approvedTime;
	/**
	* 审批意见
	*/
		private String approvedOpinion;
	/**
	* 备选1
	*/
		private String def1;
	/**
	* 备选2
	*/
		private String def2;
	/**
	* 备选3
	*/
		private String def3;
	/**
	* 备选4
	*/
		private String def4;
	/**
	* 备选5
	*/
		private String def5;
	/**
	* 备选6
	*/
		private String def6;
	/**
	* 备选7
	*/
		private String def7;
	/**
	* 备选8
	*/
		private String def8;
	/**
	* 备选9
	*/
		private BigDecimal def9;
	/**
	* 备选10
	*/
		private BigDecimal def10;
	/**
	* 备选11
	*/
		private BigDecimal def11;
	/**
	* 备选12
	*/
		private BigDecimal def12;
	/**
	* 备选13
	*/
		private BigDecimal def13;
	/**
	* 备选14
	*/
		private Date def14;
	/**
	* 备选15
	*/
		private Date def15;
	/**
	* 备选16
	*/
		private Date def16;
	/**
	* 备选17
	*/
		private Date def17;
	/**
	* 备选18
	*/
		private Long def18;
	/**
	* 备选19
	*/
		private Long def19;
	/**
	* 备选20
	*/
		private Long def20;

	/**
	 * 期间审计值
	 */
	@TableField(updateStrategy = FieldStrategy.IGNORED)
	private BigDecimal periodAuditValue;
	/**
	 * 期间审计机构
	 */
	private String periodAuditOrganization;
	/**
	 * 审计报告号
	 */
	private String auditReportNumber;

	@ApiModelProperty(value = "数据来源 null为系统填报 对应用户id")
	private String dataSource;
	/**
	 * 数据来源id
	 */
	@ApiModelProperty(value = "数据来源id", required = true)
	private String dataSourceId;
	//国有资产申请转让（划转）标的评估情况增加核准/备案单位
	@ApiModelProperty(value = "核准/备案单位")
	private String filingUnit;
	//国有资产申请转让（划转）标的评估情况增加核准/备案时间
	@JsonFormat(
			pattern = "yyyy-MM-dd"
	)
	@ApiModelProperty(value = "核准/备案时间")
	private Date filingUnitDate;
}
